<div class="container">
	<div class="toolbar">
		<a href="{:url('add')}" class="btn">添加</a>
	</div>

<div class="table">
	<table>
		<thead>
			<tr>
				<th style="width: 30px;"></th>
				<th style="width: 60px;">编号</th>
				<th>标题</th>
				<th>链接</th>
				<th style="width: 60px;">位置</th>
				<th style="width: 100px;" >操作</th>
			</tr>
		</thead>
		<tbody>
			{volist name="list" id="vo"  empty="<tr><td  class='td-empty' >没有记录</td></tr>" }
			<tr>
				<td><input type="checkbox" name="id[]" class="ck" value="{$vo['id']}" /></td>
				<td>{$vo['id']}</td>
				<td>{$vo['name']}</td>
				<td>{$vo['url']}</td>
				<td>{$vo['sort']}</td>
				<td>
					<a href="{:url('edit?id='.$vo['id'])}">编辑</a>
					<a href="{:url('dele?id='.$vo['id'])}" class="ajax">删除</a>
				</td>
			</tr>
			 
			{/volist}
		 </tbody>
		 {if count($list)}
		 <tfoot>
		 	<tr>
		 		<td><label><input type="checkbox" id="ck-all" title="全选"  /></label></td>
		 		<td  class="batch">
		 			<a href="{:url('dele')}"  title="删除" >删除</a>
		 		</td>
		 	</tr>
		 </tfoot>
		 {/if}
	</table>
</div>
<div class="page">{$list|raw}</div>
</div>